Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
current (nightly)
-
None
-
None
Description
Minor bug: an IllegalStateException may occur when a number follows an underscore in an element name. The schema below demonstrates the problem: JaxMe will generate two fields called "_element1".
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://bug" targetNamespace="http://bug">
<xsd:element name="bug">
<xsd:complexType>
<xsd:all>
<xsd:element name="element1" type="xsd:string" />
<xsd:element name="element_1" type="xsd:string" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>